<extend name="Public/base" /> 
	<block name="wrapper">
		<table class="table">
			<tr>
				<th align="center" colspan="7"><h2><a href="{:U('Auser/add')}">添加用户</a></h2></th>
			</tr>
			<tr>
				<th>编号</th>
				<th>用户名</th>
				<th>最后一次登录时间</th>
				<th>注册时间</th>
				<th>注册ip</th>
				<th>图像</th>
				<th>操作</th>
			</tr>
			<foreach name="data" item="vo">
			<tr>
				<td>{$vo['id']}</td>
				<td>{$vo['username']}</td>
				<td>{:date('Y-m-d H:i:s',$vo['lasttime'])}</td>
				<td>{:date('Y-m-d H:i:s',$vo['regtime`'])}</td>
				<td>{$vo['regip']}</td>
				<td><img src="__PUBLIC__/{:empty($vo['userpic'])?'Images/default.jpg' : $vo['userpic']}" width="30" height="30" alt=""></td>
				<td><a href="{:U('Auser/edit/',['id'=>$vo['id']])}">修改</a> <a href="{:U('Auser/lahei/',['id'=>$vo['id']])}">禁用</a> <a href="{:U('Auser/getGroup/',['id'=>$vo['id']])}">设置权限组</a></td>
			</tr>
			</foreach>
			<tr>
				<td colspan="7" align="center">{$show}</td>
			</tr>
		</table>
	</block>